AUTOMAKE_OPTIONS = foreign

ARLIB_PREFIX_ABS := $(shell pushd $(ARLIB_PREFIX) >/dev/null 2>&1; echo $$PWD; popd >/dev/null 2>&1)

AM_CFLAGS = -I$(top_srcdir)/src/ $(ARLIB_CFLAGS)
AM_CXXFLAGS = $(AM_CFLAGS)

AM_LDFLAGS = -L$(top_builddir)/src/ccms/nr $(ARLIB_LIBADD) -rpath $(ARLIB_PREFIX_ABS)/lib

check_PROGRAMS = test1 test2
TESTS = $(check_PROGRAMS)

test1_SOURCES = test1.cpp
test1_LDADD = -lNodeStats

test2_SOURCES = test2.cpp
test2_LDADD = -lNodeStats
